//
//  XinDaiVC.m
//  digitalCurrency
//
//  Created by 小震GG on 2019/11/5.
//  Copyright © 2019 XinHuoKeJi. All rights reserved.
//

#import "XinDaiVC.h"

@interface XinDaiVC ()

@end

@implementation XinDaiVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self.navigationController setNavigationBarHidden:NO animated:NO];
    self.viewTitle.text = LocalizationKey(@"信贷中心");
    [self setView];
}

- (void)setView{
    UIImageView *bgImage = [[UIImageView alloc]init];
    [self.view addSubview:bgImage];
    [bgImage mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(16);
        make.top.equalTo(18);
        make.right.equalTo(-16);
        make.height.equalTo(162.0/375.0*kWindowW);
    }];
    bgImage.image = ImageName(@"xinDai");
    
    UILabel *contentLB = [[UILabel alloc]init];
    [self.view addSubview:contentLB];
    [contentLB mas_makeConstraints:^(MASConstraintMaker *make) {
       make.left.equalTo(16);
       make.top.equalTo(bgImage.mas_bottom).offset(19);
       make.right.equalTo(-16);
    }];
    contentLB.numberOfLines = 0;
    contentLB.textColor = [UIColor colorWithHEX:@"#9FB0BD"];
    contentLB.font = kFont(12);
    contentLB.text = LocalizationKey(@"    信贷中心即信用贷款，是指以借款人的信誉发放的贷款，借款人不需要提供担保。\n    其特征就是债务人无需提供抵押品或第三方担保仅凭自己的信誉就能取得贷款，并引以借款人信用程度作为还款保证的。\n    债权人（诺亚钱包）会根据借款人在钱包的信息，通过评分卡，规则+策略的大数据模型，对借款人的收益情况进行审核分析，最后确认是否进行放款。待动态节点成熟后会择机开放，敬请期待");
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
